﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Sbook.Data;
namespace Sbook.Business
{
    public class PublisherService
    {
        private static PublisherController db = new PublisherController();
        #region[Publisher_GetById]
        public static List<Data.PublisherInfo> Publisher_GetById(string Id)
        {
            return db.Publisher_GetById(Id);
        }
        #endregion
        #region[Publisher_GetByTop]
        public static List<Data.PublisherInfo> Publisher_GetByTop(string Top, string Where, string Order)
        {
            return db.Publisher_GetByTop(Top, Where, Order);
        }
        #endregion
        #region[Publisher_GetByAll]
        public static List<Data.PublisherInfo> Publisher_GetByAll()
        {
            return db.Publisher_GetByAll();
        }
        #endregion
        #region[Publisher_Paging]
        public static List<Data.PublisherInfo> Publisher_Paging(string CurentPage, string PageSize)
        {
            return db.Publisher_Paging(CurentPage, PageSize);
        }
        #endregion
        #region[Publisher_Insert]
        public static bool Publisher_Insert(PublisherInfo data)
        {
            return db.Publisher_Insert(data);
        }
        #endregion
        #region[Publisher_Update]
        public static bool Publisher_Update(PublisherInfo data)
        {
            return db.Publisher_Update(data);
        }
        #endregion
        #region[Publisher_Delete]
        public static bool Publisher_Delete(string Id)
        {
            return db.Publisher_Delete(Id);
        }
        #endregion
    }
}